'''
Created on 23/03/2009

@author: eh01
'''
from BaseHTTPServer import HTTPServer
from im.webserver.handler.imhttprequesthandler import IMHTTPRequestHandler
import unittest


class Test(unittest.TestCase):


    def setUp(self):
        pass


    def tearDown(self):
        pass


    def testGet(self):
        server = HTTPServer(('', 8080), IMHTTPRequestHandler)
        print 'start server ...'
        server.serve_forever()

if __name__ == "__main__":
    #import sys;sys.argv = ['', 'Test.testName']
    unittest.main()